package org.mock.sample.cars;

public abstract class AbstractPedal {
	
    private PedalState state = PedalState.RELEASED;
    
    public void press(){
        state = PedalState.PRESSED;
    }
    public void release(){
        state = PedalState.RELEASED;
    }
    
    public PedalState getState(){
        return state;
    }
}
